<script type="text/javascript">
$(document).ready(function ()
		{
			$(".answer").click(function ()
			{
				var id=$(this).attr("id");
				$("#"+id).css("width", "10%");
				//$('#'+$(this).attr('id')).css("width", "10%");
			})
		});
</script>
<div class="joueur">Bienvenue <?php echo $_SESSION['joueur']; ?></div>

<form id="form_question">
	<?php
	echo '<div class="question">'.$data[0]->getLibelle().'</div>';
	foreach ($data[1] as $reponse){
		echo '<a href="#" class="answer" id="answer'.$reponse->getId().'">'.$reponse->getLibelle().'</a><br>';
	}
	?>
</form>
<h1 id="reponse"></h1>
<div id="jQuery"></div>

